<?php

namespace App\Http\Controllers\admin;

use Illuminate\Http\Request;
use DB;
use Cookie;
use Hash;
use App\Http\Controllers\Controller;
//模型
use App\Models\Role;

class RepairController extends Controller
{
    public function getIndex(){
        //查询维修单表
        $info = DB::table('weixiudan') -> get();
        return view('admin.repair.index',['data'=>$info]);
    }
}